package com.zjh.r2dbc.repositories;

import com.zjh.r2dbc.entity.Dept;
import com.zjh.r2dbc.entity.Emp;
import com.zjh.r2dbc.entity.User;
import org.springframework.data.r2dbc.repository.Query;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;

/**
 * @Auther: zjh
 * @Date: 2025/11/5 - 11 - 05 - 1:41
 * @Description: com.zjh.r2dbc.respositories
 * @version: 1.0
 */
@Repository
public interface DeptRepositories extends ReactiveCrudRepository<Dept,Integer> {//那个类，主键类型
    //默认继承了一些curd 方法 mybatis-plus
    //QBC query by Criteria
    //QBE query by example
    //自定义方法

}
